<h3>Top Referrer (<?=date('Y/m/d', $start_date)?> - <?=date('Y/m/d', $end_date)?>)</h3>
<?=form::open(NULL, array('method' => 'get'))?>
<p>Start Date: <?=form::input('start_date', date('Y/m/d', $start_date))?><br />
End Date: <?=form::input('end_date', date('Y/m/d', $end_date))?></p>
<p><?=form::submit('go', 'Go')?></p>
<?=form::close()?>
<?=$referrers?>
<h3>Top Referrers</h3>
<ol>
	<?php foreach ($top_referrers as $referrer => $content_count):?><li><?=$referrer?> - <?=$content_count?> Views</li>
	<?php endforeach;?>
</ol>